package syntaxtree;
import visitor.TranslateVisitor;
import visitor.Visitor;
import visitor.TypeVisitor;

/**
 * 
 * */
public class ClassDeclSimple extends ClassDecl {
  
	public Identifier i;
	
	public VarDeclList vl;  
  
	public MethodDeclList ml;
 
	/**
	 * 
	 * */
	public ClassDeclSimple(Identifier ai, VarDeclList avl, MethodDeclList aml) {
		i=ai;
		vl=avl;
		ml=aml;
	}

	/**
	 * 
	 * */
	public void accept(Visitor v) {
		v.visit(this);
	}

	/**
	 * 
	 * */
	public Type accept(TypeVisitor v) {
		return v.visit(this);
	}
  
	/**
	 * 
	 * */
	public translate.activationRegister.util.Exp accept(TranslateVisitor v){
		return v.visit(this);
	}
}
